<!--
 * @Description: 
 * @Author: 赵华宇
 * @Date: 2025-04-21 19:37:45
 * @LastEditors: 赵华宇
 * @LastEditTime: 2025-04-21 19:38:53
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类选择器</title>
    <style>
        a:hover{
            color:red;
        }
        .box:hover{
            color:blue
        }
    </style>
</head>
<body>
    <a href="#">a标签，超链接</a>
    <div class="box">div标签</div>
</body>
</html>